package it.unina.uninachi;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.util.DisplayMetrics;
import android.view.Menu;
import android.view.View;
import android.widget.ImageView;

public class WelcomeScreen extends Activity {

	@SuppressLint("NewApi")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_welcome_screen);
		

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// nessun menu
		return true;
	}
	//schermata creazione gioco
	public void creaGioco (View view){
	    Intent intent = new Intent(this, WaitConnection.class);
	    startActivity(intent);
	}
	//schermata unione gioco
	public void unisciGioco (View view){
	    Intent intent = new Intent(this, InserisciIP.class);
	    startActivity(intent);
	}
}
